﻿#region

using Autofac;

#endregion

namespace HouseHoldBudget.Core.Infrastructure.DependencyManagement
{
    public interface IDependencyRegistrar
    {
        #region Instance Properties

        /// <summary>
        /// Gets the order in the registration process
        /// </summary>
        /// <value>
        /// The order.
        /// </value>
        int Order { get; }

        #endregion

        #region Instance Methods

        /// <summary>
        /// Registers the specified builder.
        /// </summary>
        /// <param name="builder">The builder.</param>
        /// <param name="typeFinder">The type finder.</param>
        void Register(ContainerBuilder builder, ITypeFinder typeFinder);

        #endregion
    }
}